package com.xc.content.convert;

import com.xc.content.bo.CourseCategoryBO;
import com.xc.content.entity.CourseCategory;
import com.xc.content.utils.TreeNode;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author: hyacinth
 * @CreateTime: 2025-01-03
 * @Version: 1.0
 */
@Mapper
public interface CourseCategoryServiceConverter {

    CourseCategoryServiceConverter INSTANCE = Mappers.getMapper(CourseCategoryServiceConverter.class);


    CourseCategory convertBOToEntity(CourseCategoryBO courseCategoryBO);
    TreeNode convertEntityToTreeNode(CourseCategory courseCategory);
}
